#pragma once
#include<stdlib.h>
#include<time.h>

#define ROW 9
#define COL 9

#define ROWS ROW+2
#define COLS COL+2
#define EASY_MINE 10

void init(char arr[ROWS][COLS], int rows, int cols, char x);
void display(char arr[ROWS][COLS],int row, int col);
void setmine(char arr[ROWS][COLS], int row, int col);
void findmine(char arr1[ROWS][COLS], char arr2[ROWS][COLS], int row, int col);
int getminecount(char arr[ROWS][COLS], int x, int y);